package com.cowin.inf.service.impl;

import com.cowin.inf.dao.KyUptimeRateMapper;
import com.cowin.inf.model.KyUptimeRate;
import com.cowin.inf.model.vo.KyUptimeRateVo;
import com.cowin.inf.service.KyUptimeRateService;
import com.cowin.base.AbstractServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by  on 2019/09/24.
 *
 * @author CodeGenerator
 */
@Slf4j
@Service
@Transactional(rollbackFor = RuntimeException.class)
public class KyUptimeRateServiceImpl extends AbstractServiceImpl<KyUptimeRate> implements KyUptimeRateService {

    @Resource
    private KyUptimeRateMapper kyUptimeRateMapper;

    @Override
    public List<KyUptimeRate> searchUptimeRate(KyUptimeRateVo kyUptimeRateVo) {
        return kyUptimeRateMapper.searchUptimeRate(kyUptimeRateVo);
    }
}
